import request from '@/utils/request'

const PATH='crm/businessTrack';

export function addbusinessTrack(data) {
  return request({
    url:'/crm/businessTrack',
    method:'post',
    data:data
  })
}

//捞取商机
export function resetBusiness(id,data) {
  return request({
    url:`/crm/businessTrack/reset/${id}`,
    method:'PUT',
    data:data
  })
}

//踢回公海
export function giveBack(data) {
  return request({
    url:"crm/businessTrack/givBack",
    method:"PUT",
    data:data
  })

}
export function transform(data) {
    return request({
      url:`crm/businessTrack/transform`,
      method:"PUT",
      data:data
    })
}
